• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# DotNetNuke类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中DotNetNuke的典型用法代码示例。如果您正苦于以下问题:C# DotNetNuke类的具体用法?C# DotNetNuke怎么用?C# DotNetNuke使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



DotNetNuke类属于命名空间,在下文中一共展示了DotNetNuke类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "sessionresourceid": // Int
     return SessionResourceId.ToString(strFormat, formatProvider);
    case "sessionid": // Int
     return SessionId.ToString(strFormat, formatProvider);
    case "resourcelink": // NVarChar
     return PropertyAccess.FormatString(ResourceLink, strFormat);
    case "resourcedescription": // NVarChar
     if (ResourceDescription == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(ResourceDescription, strFormat);
    case "resourcetype": // Int
     return ResourceType.ToString(strFormat, formatProvider);
    case "visibility": // Int
     return Visibility.ToString(strFormat, formatProvider);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:27,代码来源:SessionResourceBase_Interfaces.cs


示例2: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
            case "conferenceid": // Int
             return ConferenceId.ToString(strFormat, formatProvider);
            case "userid": // Int
             return UserId.ToString(strFormat, formatProvider);
            case "status": // Int
             return Status.ToString(strFormat, formatProvider);
            case "receivenotifications": // Bit
             return ReceiveNotifications.ToString();
            case "company": // NVarChar
             if (Company == null)
             {
             return "";
             };
             return PropertyAccess.FormatString(Company, strFormat);
            case "attcode": // NVarChar
             if (AttCode == null)
             {
             return "";
             };
             return PropertyAccess.FormatString(AttCode, strFormat);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:DNN-Connect,项目名称:Conference,代码行数:31,代码来源:AttendeeBase_Interfaces.cs


示例3: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
  switch (strPropertyName.ToLower()) {
   case "title": // NVarChar
    if (Title == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Title, strFormat);
   case "sessionattendeename": // NVarChar
    return PropertyAccess.FormatString(SessionAttendeeName, strFormat);
   case "createdbyuser": // NVarChar
    if (CreatedByUser == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(CreatedByUser, strFormat);
   case "lastmodifiedbyuser": // NVarChar
    if (LastModifiedByUser == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(LastModifiedByUser, strFormat);
   default:
      return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
  }
 }
开发者ID:EPTamminga,项目名称:Conference,代码行数:27,代码来源:SessionAttendee_Interfaces.cs


示例4: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "commentid": // Int
     return CommentId.ToString(strFormat, formatProvider);
    case "userid": // Int
     return UserId.ToString(strFormat, formatProvider);
    case "conferenceid": // Int
     return ConferenceId.ToString(strFormat, formatProvider);
    case "sessionid": // Int
     return SessionId.ToString(strFormat, formatProvider);
    case "datime": // DateTime
     return Datime.ToString(strFormat, formatProvider);
    case "remarks": // NVarCharMax
     return PropertyAccess.FormatString(Remarks, strFormat);
    case "visibility": // Int
     return Visibility.ToString(strFormat, formatProvider);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:25,代码来源:CommentBase_Interfaces.cs


示例5: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
  switch (strPropertyName.ToLower()) {
   case "nrsessions": // Int
    if (NrSessions == null)
    {
        return "";
    };
    return ((int)NrSessions).ToString(strFormat, formatProvider);
   case "nrvotes": // Int
    if (NrVotes == null)
    {
        return "";
    };
    return ((int)NrVotes).ToString(strFormat, formatProvider);
   case "createdbyuser": // NVarChar
    if (CreatedByUser == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(CreatedByUser, strFormat);
   case "lastmodifiedbyuser": // NVarChar
    if (LastModifiedByUser == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(LastModifiedByUser, strFormat);
   default:
      return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
  }
 }
开发者ID:EPTamminga,项目名称:Conference,代码行数:31,代码来源:Tag_Interfaces.cs


示例6: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
     switch (strPropertyName.ToLower()) {
     case "code": // NVarChar
      return PropertyAccess.FormatString(Code, strFormat);
     case "name": // NVarChar
      return PropertyAccess.FormatString(Name, strFormat);
     case "description": // NVarChar
      if (Description == null)
      {
      return "";
      };
      return PropertyAccess.FormatString(Description, strFormat);
     case "points": // Int
      return Points.ToString(strFormat, formatProvider);
     case "coords": // VarChar
      return PropertyAccess.FormatString(Coords, strFormat);
     case "latitude": // Float
      return Latitude.ToString(strFormat, formatProvider);
     case "longitude": // Float
      return Longitude.ToString(strFormat, formatProvider);
     case "altitude": // Int
      return Altitude.ToString(strFormat, formatProvider);
     case "region": // Int
      return Region.ToString(strFormat, formatProvider);
     default:
        return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
        }
 }
开发者ID:Club-Albatros,项目名称:Balises,代码行数:29,代码来源:FlightBeacon_Interfaces.cs


示例7: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
  switch (strPropertyName.ToLower()) {
   case "displayname": // NVarChar
    return PropertyAccess.FormatString(DisplayName, strFormat);
   case "email": // NVarChar
    if (Email == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Email, strFormat);
   case "firstname": // NVarChar
    return PropertyAccess.FormatString(FirstName, strFormat);
   case "lastname": // NVarChar
    return PropertyAccess.FormatString(LastName, strFormat);
   case "conferencename": // NVarChar
    return PropertyAccess.FormatString(ConferenceName, strFormat);
   case "sessiontitle": // NVarChar
    if (SessionTitle == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(SessionTitle, strFormat);
   default:
      return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
  }
 }
开发者ID:EPTamminga,项目名称:Conference,代码行数:27,代码来源:Comment_Interfaces.cs


示例8: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "conferenceid": // Int
     return ConferenceId.ToString(strFormat, formatProvider);
    case "portalid": // Int
     return PortalId.ToString(strFormat, formatProvider);
    case "name": // NVarChar
     return PropertyAccess.FormatString(Name, strFormat);
    case "description": // NVarCharMax
     if (Description == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Description, strFormat);
    case "startdate": // DateTime
     if (StartDate == null)
     {
         return "";
     };
     return ((DateTime)StartDate).ToString(strFormat, formatProvider);
    case "enddate": // DateTime
     if (EndDate == null)
     {
         return "";
     };
     return ((DateTime)EndDate).ToString(strFormat, formatProvider);
    case "maxcapacity": // Int
     if (MaxCapacity == null)
     {
         return "";
     };
     return ((int)MaxCapacity).ToString(strFormat, formatProvider);
    case "sessionvoting": // Bit
     return SessionVoting.ToString();
    case "attendeerole": // Int
     return AttendeeRole.ToString(strFormat, formatProvider);
    case "speakerrole": // Int
     return SpeakerRole.ToString(strFormat, formatProvider);
    case "location": // NVarChar
     if (Location == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Location, strFormat);
    case "url": // NVarChar
     if (Url == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Url, strFormat);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:59,代码来源:ConferenceBase_Interfaces.cs


示例9: SecurityGrid

        public SecurityGrid(DotNetNuke.Entities.Portals.PortalSettings ps, bool isReadOnly, string imgPath, PermissionInfo sec, int permId)
		{
			PortalSettings = ps;
			ReadOnly = isReadOnly;
			ImagePath = imgPath;
			Security = sec;
			PermissionsId = permId;
		}
开发者ID:allanedk,项目名称:ActiveForums,代码行数:8,代码来源:SecurityGrid.cs


示例10: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
  switch (strPropertyName.ToLower()) {
   case "company": // NVarChar
    if (Company == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Company, strFormat);
   case "description": // NVarCharMax
    if (Description == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Description, strFormat);
   case "descriptionshort": // NVarCharMax
    if (DescriptionShort == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(DescriptionShort, strFormat);
   case "url": // NVarChar
    if (Url == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Url, strFormat);
   case "displayname": // NVarChar
    return PropertyAccess.FormatString(DisplayName, strFormat);
   case "firstname": // NVarChar
    return PropertyAccess.FormatString(FirstName, strFormat);
   case "lastname": // NVarChar
    return PropertyAccess.FormatString(LastName, strFormat);
   case "email": // NVarChar
    if (Email == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Email, strFormat);
   case "username": // NVarChar
    return PropertyAccess.FormatString(Username, strFormat);
   case "createdbyuser": // NVarChar
    if (CreatedByUser == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(CreatedByUser, strFormat);
   case "lastmodifiedbyuser": // NVarChar
    if (LastModifiedByUser == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(LastModifiedByUser, strFormat);
   default:
      return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
  }
 }
开发者ID:EPTamminga,项目名称:Conference,代码行数:57,代码来源:SessionSpeaker_Interfaces.cs


示例11: Emailer

        /// <summary>
        /// 
        /// </summary>
        /// <param name="objScheduleHistoryItem"></param>
        /// <param name="controller"></param>
        public Emailer(DotNetNuke.Services.Scheduling.ScheduleHistoryItem objScheduleHistoryItem, IDnnqaController controller)
        {
            if (controller == null)
            {
                throw new ArgumentException(@"Controller is nothing.", "controller");
            }

            Controller = controller;
            ScheduleHistoryItem = objScheduleHistoryItem;
        }
开发者ID:shahinhemati,项目名称:project-example-a,代码行数:15,代码来源:Emailer.cs


示例12: UrlRewiterSettings

 public UrlRewiterSettings(DotNetNuke.Framework.Providers.Provider objProvider)
 {
     if (objProvider.Attributes["fileExtension"] != null)
     {
         _fileExtension = objProvider.Attributes["fileExtension"];
     }
     else
     {
         _fileExtension = ".aspx";
     }
 }
开发者ID:robsiera,项目名称:OpenUrlRewriter,代码行数:11,代码来源:UrlRewriterSettings.cs


示例13: GetSearchItems

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// GetSearchItems implements the ISearchable Interface
        /// </summary>
        /// <param name="ModInfo">The ModuleInfo for the module to be Indexed</param>
        /// -----------------------------------------------------------------------------
        public DotNetNuke.Services.Search.SearchItemInfoCollection GetSearchItems(DotNetNuke.Entities.Modules.ModuleInfo ModInfo)
        {
            var items = new SearchItemInfoCollection();

            // Add the devices to the search index.
            foreach (var item in Factory.ActiveProvider.Devices)
            {
                string guid = String.Format("DeviceID={0}",
                    item.DeviceId);

                var device = new Device(item);

                items.Add(new SearchItemInfo(
                    device.HardwareCaption,
                    String.Format("{0} running {1} with browser {2}",
                        device.HardwareCaption,
                        device.SoftwareCaption,
                        device.BrowserCaption),
                    ModInfo.CreatedByUserID,
                    Factory.ActiveProvider.PublishedDate,
                    ModInfo.ModuleID,
                    device.DeviceID,
                    device.Content,
                    guid));
            }

            // Add the properties to the search.
            foreach (var property in Factory.ActiveProvider.Properties)
            {
                items.Add(new SearchItemInfo(
                    property.Name,
                    property.Description,
                    ModInfo.CreatedByUserID,
                    Factory.ActiveProvider.PublishedDate,
                    ModInfo.ModuleID,
                    property.Name,
                    property.Description));
                foreach (var value in property.Values)
                {
                    string name = String.Format("{0} - {1}", property.Name, value.Name);
                    items.Add(new SearchItemInfo(
                        name,
                        value.Description,
                        ModInfo.CreatedByUserID,
                        Factory.ActiveProvider.PublishedDate,
                        ModInfo.ModuleID,
                        name,
                        value.Description));
                }
            }

            return items;
        }
开发者ID:rrsc,项目名称:Dnn.Platform,代码行数:59,代码来源:FeatureController.cs


示例14: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "sessionid": // Int
     return SessionId.ToString(strFormat, formatProvider);
    case "userid": // Int
     return UserId.ToString(strFormat, formatProvider);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:15,代码来源:SessionAttendeeBase_Interfaces.cs


示例15: GetSearchItems

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// GetSearchItems implements the ISearchable Interface
        /// </summary>
        /// <param name="ModInfo">The ModuleInfo for the module to be Indexed</param>
        /// -----------------------------------------------------------------------------
        public DotNetNuke.Services.Search.SearchItemInfoCollection GetSearchItems(DotNetNuke.Entities.Modules.ModuleInfo ModInfo)
        {
            //SearchItemInfoCollection SearchItemCollection = new SearchItemInfoCollection();

            //List<Ourspace_SubmittedProposalsInfo> colOurspace_SubmittedProposalss = GetOurspace_SubmittedProposalss(ModInfo.ModuleID);

            //foreach (Ourspace_SubmittedProposalsInfo objOurspace_SubmittedProposals in colOurspace_SubmittedProposalss)
            //{
            //    SearchItemInfo SearchItem = new SearchItemInfo(ModInfo.ModuleTitle, objOurspace_SubmittedProposals.Content, objOurspace_SubmittedProposals.CreatedByUser, objOurspace_SubmittedProposals.CreatedDate, ModInfo.ModuleID, objOurspace_SubmittedProposals.ItemId.ToString(), objOurspace_SubmittedProposals.Content, "ItemId=" + objOurspace_SubmittedProposals.ItemId.ToString());
            //    SearchItemCollection.Add(SearchItem);
            //}

            //return SearchItemCollection;

            throw new System.NotImplementedException("The method or operation is not implemented.");
        }
开发者ID:pbrigdenatc,项目名称:PlatformModules,代码行数:22,代码来源:FeatureController.cs


示例16: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
     switch (strPropertyName.ToLower()) {
     case "displayname": // NVarChar
      if (DisplayName == null)
      {
      return "";
      };
      return PropertyAccess.FormatString(DisplayName, strFormat);
     case "takeofftime": // DateTime
      return TakeoffTime.ToString(strFormat, formatProvider);
     case "takeoffdescription": // NVarChar
      return PropertyAccess.FormatString(TakeoffDescription, strFormat);
     default:
        return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
        }
 }
开发者ID:Club-Albatros,项目名称:Balises,代码行数:17,代码来源:Comment_Interfaces.cs


示例17: GetProperty

 public override string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
 {
  switch (strPropertyName.ToLower()) {
   case "title": // NVarChar
    if (Title == null)
    {
        return "";
    };
    return PropertyAccess.FormatString(Title, strFormat);
   case "tagname": // NVarChar
    return PropertyAccess.FormatString(TagName, strFormat);
   case "conferenceid": // Int
    return ConferenceId.ToString(strFormat, formatProvider);
   default:
      return base.GetProperty(strPropertyName, strFormat, formatProvider, accessingUser, accessLevel, ref propertyNotFound);
  }
 }
开发者ID:EPTamminga,项目名称:Conference,代码行数:17,代码来源:SessionTag_Interfaces.cs


示例18: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "tagid": // Int
     return TagId.ToString(strFormat, formatProvider);
    case "conferenceid": // Int
     return ConferenceId.ToString(strFormat, formatProvider);
    case "tagname": // NVarChar
     return PropertyAccess.FormatString(TagName, strFormat);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:17,代码来源:TagBase_Interfaces.cs


示例19: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "conferenceid": // Int
     return ConferenceId.ToString(strFormat, formatProvider);
    case "userid": // Int
     return UserId.ToString(strFormat, formatProvider);
    case "sort": // Int
     if (Sort == null)
     {
         return "";
     };
     return ((int)Sort).ToString(strFormat, formatProvider);
    case "url": // NVarChar
     if (Url == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Url, strFormat);
    case "description": // NVarCharMax
     if (Description == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Description, strFormat);
    case "descriptionshort": // NVarCharMax
     if (DescriptionShort == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(DescriptionShort, strFormat);
    case "company": // NVarChar
     if (Company == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Company, strFormat);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:45,代码来源:SpeakerBase_Interfaces.cs


示例20: GetProperty

        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
    case "slotid": // Int
     return SlotId.ToString(strFormat, formatProvider);
    case "conferenceid": // Int
     return ConferenceId.ToString(strFormat, formatProvider);
    case "start": // Time
     return Start.ToString(strFormat, formatProvider);
    case "durationmins": // Int
     return DurationMins.ToString(strFormat, formatProvider);
    case "slottype": // Int
     return SlotType.ToString(strFormat, formatProvider);
    case "title": // NVarChar
     if (Title == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Title, strFormat);
    case "description": // NVarCharMax
     if (Description == null)
     {
         return "";
     };
     return PropertyAccess.FormatString(Description, strFormat);
    case "daynr": // Int
     if (DayNr == null)
     {
         return "";
     };
     return ((int)DayNr).ToString(strFormat, formatProvider);
    case "locationid": // Int
     if (LocationId == null)
     {
         return "";
     };
     return ((int)LocationId).ToString(strFormat, formatProvider);
                default:
                    propertyNotFound = true;
                    break;
            }

            return Null.NullString;
        }
开发者ID:EPTamminga,项目名称:Conference,代码行数:45,代码来源:SlotBase_Interfaces.cs



注:本文中的DotNetNuke类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# DotNetProjectConfiguration类代码示例发布时间:2022-05-24
下一篇:
C# DoorFacing类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap